package com.ruihu.common.module.support.datatracer.domain.form;

import com.ruihu.common.common.domain.PageParam;
import com.ruihu.common.common.swagger.ApiModelPropertyEnum;
import com.ruihu.common.module.support.datatracer.constant.DataTracerTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 查询表单
 *
 * @Author -主任: 卓大
 * @Date 2022-07-23 19:38:52
 * @Wechat
 * @Email
 * @Copyright  （ ）
 */
@Data
public class DataTracerQueryForm extends PageParam {

    @ApiModelPropertyEnum(DataTracerTypeEnum.class)
    private Integer type;

    @ApiModelProperty("业务id")
    @NotNull(message = "业务id不能为空")
    private Long dataId;

    @ApiModelProperty("关键字")
    private String keywords;
}
